<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }

        .main{
            width: 450px;
            height: 400px;
            margin: auto;
            margin-top: 100px;
            background-color:white;
            /* 透明度 */
            opacity: 0.7;
            border-radius: 10px;
        }

        .login_title{
            width: 100%;
            height: 60px;
            line-height: 60px;
            text-align: center;  /*文字居中*/
            border-bottom: 1px solid rgb(173, 173, 173);
        }
        /* 注册表单 */
        .main form {
            width: 100%;
            height: 350px;
            margin-top: 50px;

        }

        .main form ul{
            list-style: none;
            width: 100%;
            height: 100%;
        }

        .main form ul li{
            width: 100%;
            height: 50px;

            margin-bottom: 20px;
            line-height: 50px;
        }

        .main form ul li label{
            display: block;
            float: left;
            width: 100px;
            font-size: 14px;
            text-align: left;
        }
        .lab{
            margin-left: 40px;
        }
        .customerIpt{
            width: 280px;
            height: 30px;
            border-radius: 4px; /*圆角*/
            border: 1px solid rgb(175, 173, 173);
            outline: none;
            margin-left: -20px;
        }
        .loginBtn{
            width: 100px;
            height: 40px;
            background-color: rgb(44, 43, 43);
            color: white;
            border: none;  /*去除边框*/
            margin-left: 180px;
            cursor: pointer;
            margin-top: 20px;
        }

    </style>
</head>
<body background="${pageContext.request.contextPath}/images/sea.jpg">
<div class="main">
    <h2 class="login_title">用户注册</h2>
    <form action="${pageContext.request.contextPath}/customer/sign" method="get">
        <ul>
            <li><label class="lab">用户名: </label><input type="text" name="name" class="customerIpt" placeholder="输入用户名"></li>
            <li><label class="lab">密码:</label> <input type="password" name="pwd" class="customerIpt" placeholder="输入密码"></li>
            <li><input type="submit" value="注册" class="loginBtn"></li>
        </ul>
    </form>
</div>
</body>
</html>